package com.myBlog.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("remark")
public class Remark implements Serializable {

    //评论主键
    @TableId(type = IdType.AUTO,value = "remarkId")
    private Integer remarkId;

    //评论时间
    @TableField("remark_time")
    private Timestamp remarkTime;

    //评论内容
    @TableField("content")
    private String content;

    //评论邮件
    @TableField("email")
    private String email;

    //评论昵称
    @TableField("nickName")
    private String nickName;

    //审批状态，0-未审核，1-审核通过，2-审核不通过
    @TableField("status")
    private Integer status;
}
